/** 
 * ================================================================================
 * 		Project		: Kompas Bola
 * 		File		: Constants.java
 * 		Description	: Constant Primitif Type
 * 		Called		: All
 * ================================================================================
 * */
package com.kompas.bola.application.utils;

public class Constants {
	/** =========================================================================== */		
	/**
	 * API */
	public static final String URL						= "http://api.kompas.com/external/?command={command}&kanal={kanal}&type={type}&format={format}&BYPASSOAUTH&page={page}&limit=10";
	public static final String UPDATE_URL				= "http://api.kompas.com/external/?command={command}&kanal={kanal}&type={type}&format={format}&BYPASSOAUTH&pub={pubDate}&page=1";
	public static final String DETAIL_URL				= "http://api.kompas.com/external/?command={command}&kanal={kanal}&type={type}&format={format}&BYPASSOAUTH";
	public static final String RELATED_URL				= "http://api.kompas.com/external/?command={command}&kanal={kanal}&type={type}&format={format}&APPSF0UNDRYBYPASS";
	public static final String STAT_CONTENT				= "http://api.kompas.com/external/?kanal={kanal}&type={type}&liga={liga}&format={format}&BYPASSOAUTH";
	public static final String SUB_KANAL				= "&sub={subkanal}";
	
	/**
	 * TYPE */
	public static final String TYPE_LIST				= "list";
	public static final String TYPE_NEWEST				= "isnewest";
	public static final String TYPE_READ				= "read";
	public static final String TYPE_STAT_BOLA			= "statbola";
	public static final String TYPE_COMMENT				= "comment";
	public static final String TYPE_RELATED				= "related";
	/** =========================================================================== */
	/**
	 * COMMENT TOAST */
	public static final String LOADING					= "Loading";
	public static final String PROCESS_CANCEL			= "Proses Batal";
	public static final String SAVE_BOOKMARK			= "Artikel tersimpan";
	public static final String SAVE_AFTER_BOOKMARK		= "Artikel sudah tersimpan";
	public static final String DELETE_BOOKMARK			= "Artikel terhapus";
	public static final String NO_COMMENT				= "Belum ada komentar";
	public static final String NO_UPDATE_FOUND			= "Tidak ada berita update";
	public static final String PROCESS					= "Sedang proses mohon tunggu";
	public static final String LOW_CONNECTION			= "Koneksi lemah mohon tunggu";
	public static final String NO_CONNECTION			= "Tidak ada koneksi yang tersedia";
	public static final String EMPTY_DATA				= "Tidak ada data";
	/** =========================================================================== */	
	/**
	 * GLOBAL */
	public static final String EMPTY					= "";	
	public static final String NULL						= null;	
	public static final String ZERO						= "0";
	public static final String ERROR					= "error";
	
	public static final String STATUS					= "status";
	public static final String KANAL					= "kanal";
	public static final String AGENDA					= "agenda";
	public static final String BOLA						= "bola";
	public static final String HOME						= "home";
	public static final String BOOKMARK					= "bookmark";
	
	public static final String FORMAT_JSON				= "json";
	public static final String FORMAT_XML				= "xml";
	
	public static final String COMMAND_GET_LATEST		= "getlatest";
	public static final String COMMAND_GET_SUBRIK		= "getSubrubrik";

	public static final String TAG_ITEM					= "item";
	public static final String TAG_LATEST				= "latest";
	
	public static final String YES						= "yes";
	public static final String NO						= "no";

	public static final String BEFORE_READ				= "0";
	public static final String AFTER_READ				= "1";
	public static final String AFTER_BOOKMARK			= "2";
	
	public static final boolean YES_RELATED				= true;
	public static final boolean NO_RELATED				= false;
	
	public static final String SHARE_VIA				= "via @kompascom";
	public static final String KOMPAS_BOLA				= "Kompas Bola";	
	public static final String RESULT_STATUS_NOT_FOUND	= "RESULT";	
	public static final String APP_CACHE				= "/data/data/com.dhika.bola.application/cache";
	
	public static int JADWAL_LENGTH						= 10;
    public static int MAX_IMAGE_SIZE 					= 720;
    public static int MAX_THUMBIMAGE_SIZE 				= 480;    
    public static int DISPLAY_SCREEN_WIDTH				= 0;
    public static int DISPLAY_SCREEN_HEIGHT				= 0;
    
    public static int SCALETYPE_FIT_XY					= 1;
    public static int SCALETYPE_FIT_START				= 3;
    public static int SCALETYPE_FIT_CENTER				= 4;
    public static int SCALETYPE_CENTER_CROP				= 5;

    public static int FONT_PARAGRAPH					= 6;
    
	public static final String RESULT_STATUS_SUCCESS	= "success";	
	public static final String RESULT_STATUS_FAILED		= "failed";		
	public static final String RESULT_STATUS_FIRST		= "first";	
	
	public static final String DETAIL_PARAM				= "detail_param";
	public static final int DETAIL_MAIN					= 1;
	public static final int DETAIL_RELATED				= 2;
	public static final int DETAIL_BOOKMARK				= 3;	
	/** =========================================================================== */	
	/**
	 * BOLA */
	public static final String ID						= "id";
	public static final String ITEM						= "item";
	public static final String TITLE					= "title";
	public static final String LINK						= "link";
	public static final String PHOTO					= "photo";
	public static final String THUMB					= "thumb";
	public static final String DESC						= "description";
	public static final String PUBDATE					= "pubDate";
	public static final String GUID						= "guid";	
	public static final String BODY_CONTENT				= "body.content";	
	public static final String POSITION					= "position";	
	public static final String SHORTLINK				= "url";	
	public static final String TOTAL					= "total";	
	public static final String MESSAGE					= "message";	
	/** =========================================================================== */	
	/** 
	 * KLASEMEN STAT BOLA */
	public static final String FIRST_ROW_KLASEMEN		= "inggris";
	public static final String TABLES					= "tables";
	public static final String NAME_ALIAS				= "name";
	public static final String LIGA						= "liga";
	public static final String TIM						= "tim";
	public static final String PLAY						= "play";
	public static final String WIN						= "win";
	public static final String DRAW						= "draw";
	public static final String LOSE						= "lose";
	public static final String GOL_WIN					= "golwin";
	public static final String GOL_LOSE					= "gollose";
	public static final String POINT					= "point";

	public static final String BPL						= "inggris";
	public static final String SERIA_A					= "italia";
	public static final String LA_LIGA					= "spanyol";
	public static final String BUNDESLIGA				= "jerman";

	public static final String BPL_TITLE				= " 					BPL";
	public static final String SERIA_A_TITLE			= " 					Serie A";
	public static final String LA_LIGA_TITLE			= " 					La Liga";
	public static final String BUNDESLIGA_TITLE			= " 					Bundesliga";
	
	public static final String KLASEMEN					= "Klasemen";
	public static final String HASIL_PERTANDINGAN		= "Hasil Laga";
	public static final String TOP_SKOR					= "Top Skor";
	
	public static final String MATCH					= "match";
	public static final String TEAM1					= "team1";
	public static final String SCORE1					= "score1";
	public static final String TEAM2					= "team2";
	public static final String SCORE2					= "score2";
	public static final String GAME_STATUS				= "gamestatus";
	public static final String DATE						= "date";
	public static final String ALIAS					= "alias";
	public static final String SCORE_RESULT				= "score";
	public static final String PLAYER					= "player";
	public static final String GOL						= "gol";
	public static final String TOPSCORE					= "topscore";
	public static final String TV						= "tv";
	public static final String TIME						= "time";
	
	/** 
	 * AGENDA */
	public static final String AGENDA_PERIODE			= "agendaperiode";
	
	/** =========================================================================== */
	/**
	 * BOLA DETAIL*/
	public static final String MEDIA					= "media";
	public static final String MEDIA_REFERENCE			= "media-reference";
	public static final String ATTRIBUTES				= "@attributes";
	public static final String MIME_TYPE				= "mime-type";
	public static final String SOURCE					= "source";
	public static final String COPYRIGHT				= "copyright";
	public static final String MEDIA_CAPTION			= "media-caption";
	public static final String PARAGRAPH				= "p";
	public static final String SLUG_LINE				= "SlugLine";
	public static final String HEAD_LINE				= "HeadLine";
	public static final String NEWS_COMPONENT			= "NewsComponent";
	public static final String PUBLISHED_BY				= "PublishedBy";
	public static final String AUTHOR					= "Author";
	public static final String RELATED					= "related";	
	public static final String DATELINE					= "DateLine";	
	public static final String NEWS_LINE				= "NewsLines";
	public static final String GUID_RELATED				= "guid_related";	
	public static final String TITLE_RELATED			= "title_related";	
	public static final String COUNT_RELATED			= "count_related";	
	public static final String SHORTENLINK				= "ShortenLink";	
	public static final String NEWS_TYPE				= "NewsItemType";
	public static final String FORMAL_NAME				= "FormalName";	

	/**
	 * COMMENT */
	public static final String COMMENT_ID				= "comment_id";
	public static final String USER_ID					= "user_id";
	public static final String USER_NAME				= "user_name";
	public static final String PROFILE_PICTURE			= "profile_picture";
	/** =========================================================================== */
	/**
	 * DATABASE */
	public static String DB_NAME 						= "db_kompasbola";
	public static String DB_NAME_RELATED				= "db_kompasbola_related";
	public static String TBL_BOLA						= "tbl_bola";
	public static String TBL_RELATED_BOLA				= "tbl_related_bola";
	public static String TBL_BOOKMARK_BOLA				= "tbl_bookmark_bola";
	
	public static String CONTENT_LENGTH					= "10";
	public static String CONTENT_LENGTH_SWIPE			= "30";	
	public static String CONTENT_LENGTH_TABLE_KLASEMEN	= "20";
	public static String CONTENT_LENGTH_KANAL			= "6";	
	public static String CONTENT_LENGTH_RELATED			= "5";
	public static String CONTENT_LENGTH_KLASEMEN		= "4";	
	
	public static int CONTENT_DB_LENGTH					= 30;
	public static int DB_VERSION 						= 17;
	public static int LIMIT								= 10;	
	public static int DETAIL_LIMIT						= 1;	
	public static int OFFSET							= 0;	
	/** =========================================================================== */
	/**
	 * SIDE MENU */
	public static final String LIGA_CHAMPIONS			= "Liga Champions";
	public static final String LIGA_INDONESIA			= "Liga Indonesia";
	public static final String LIGA_INGGRIS				= "Liga Inggris";
	public static final String LIGA_ITALIA				= "Liga Italia";
	public static final String LIGA_JERMAN				= "Liga Jerman";
	public static final String LIGA_SPANYOL				= "Liga Spanyol";
	public static final String LIGA_LAIN				= "Liga Lain";
	public static final String LIST_BOOKMARK			= "Daftar Tersimpan";

	public static final String ligachampions			= "ligachampions";
	public static final String ligaindonesia			= "ligaindonesia";
	public static final String ligainggris				= "ligainggris";
	public static final String ligaitalia				= "ligaitalia";
	public static final String ligajerman				= "ligajerman";
	public static final String ligaspanyol				= "ligaspanyol";
	public static final String ligalain					= "ligalain";
	/** =========================================================================== */
	/**
	 * OPENX ADS */
	public static final int BANNER_CHANGE_INTERVAL		= 1500;
	public static final String ADS_URL					= "http://ads6.kompasads.com/new/www/delivery/ck.php?oaparams=2__bannerid=18965__zoneid=2203__cb=756862a486__oadest=http%3A%2F%2Ftekno.kompas.com%2F";
	public static final String ADS_URL_BOTTOM			= "http://ads6.kompasads.com/new/www/delivery/ck.php?oaparams=2__bannerid=20805__zoneid=2911__cb=9113b143ae__oadest=http%3A%2F%2Fforum.kompas.com%2F";
	public static final String ADS_SAMPLE				= "http://ads6.kompasads.com/new/www/delivery/afr.php?zoneid=1947&amp;cb=INSERT_RANDOM_NUMBER_HERE";
	public static final String ADS						= "<iframe id='a25286c5' name='a25286c5' src='http://ads6.kompasads.com/new/www/delivery/afr.php?zoneid=1947&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='100%' height='50' allowtransparency='true'><a href='http://ads6.kompasads.com/new/www/delivery/ck.php?n=ab66f0b2&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads6.kompasads.com/new/www/delivery/avw.php?zoneid=1947&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ab66f0b2' border='0' alt='' /></a></iframe>";
	public static final String ADS_TOP 					= "<iframe id='a571d2c6' name='a571d2c6' src='http://ads6.kompasads.com/new/www/delivery/afr.php?zoneid=2929&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='100%' height='50' allowtransparency='true'><a href='http://ads6.kompasads.com/new/www/delivery/ck.php?n=ae329433&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads6.kompasads.com/new/www/delivery/avw.php?zoneid=2929&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ae329433' border='0' alt='' /></a></iframe>";
	public static final String ADS_BOTTOM				= "<iframe id='a966af28' name='a966af28' src='http://ads6.kompasads.com/new/www/delivery/afr.php?zoneid=2931&amp;cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='100%' height='50' allowtransparency='true'><a href='http://ads6.kompasads.com/new/www/delivery/ck.php?n=a993ee00&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads6.kompasads.com/new/www/delivery/avw.php?zoneid=2931&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a993ee00' border='0' alt='' /></a></iframe>";
	/** =========================================================================== */
	/**
	 * ANALYTICS */
	public static final String GA_KEY_ANALYTICS			= "UA-22088482-8";
	public static final String FLURRY_KEY_ANALYTICS		= "M6CYG6NS89DC98P2GFJC";	
	

	public static final String SPLASH_SCREEN			= "Splash Screen ";
	public static final String MAIN_SCREEN				= "Home ";
	public static final String DETAIL_SCREEN			= "Detail ";
	public static final String JADWAL_SCREEN			= "Jadwal Pertandingan ";
	public static final String VIEW_WEB_SCREEN			= "Browser ";
	public static final String COMMENT_SCREEN			= "Komentar ";
	public static final String KLASEMEN_SCREEN			= "Klasemens ";
	public static final String ABOUT_SCREEN				= "About ";
	/** =========================================================================== */	
}
